package cn.edu.scau.cmi.heyonglin.comprehension.domain;

public class Student implements java.io.Serializable {
	private long id;
	private String name;
	private Teacher teacher;
	public Student(){
	}
	
	public void setId(long id) {
		this.id=id;
	}
	public long getId() {
		return id;
	}
	public void setName(String name) {
		this.name=name;
	}
	public String getName() {
		return name;
	}
	public void setTeacher(Teacher teacher) {
		this.teacher=teacher;
	}
	public Teacher getTeacher() {
		return teacher;
	}
	
}
